WSAL\Controllers\Alert_Manager D

Total Complexity 251
Dependencies 21
Dependents 58
Total lines 1,684
Lines of code 818
Logical lines of code 414
Comment lines 538
Methods 47
Properties 15

Methods 47

Method Rating Maintainability Complexity Lines of code
log()
D
31 40 98
trigger_event()
B
43 21 44
trigger_event_if()
B
43 19 45
report_enabled_disabled_event()
A
38 13 67
was_triggered_recently()
A
51 15 23
get_event_user_data()
A
47 10 35
disable_enable_alert()
A
49 9 29
get_latest_events()
A
45 8 41
is_ip_address_disabled()
S
53 7 23
was_triggered()
S
57 7 16
register()
S
47 5 36
get_event_type_data()
S
42 4 51
is_disabled_role()
S
57 6 18
commit_item()
S
57 6 15
get_event_objects_data()
S
46 4 37
get_categorized_alerts()
S
58 5 16
will_trigger()
S
61 5 12
check_enable_user_roles()
S
65 5 9
get_alerts()
S
62 4 12
get_admin_bar_event()
S
60 4 12
get_ignored_post_types()
S
59 3 17
register_group()
S
65 4 9
get_all_post_types()
S
65 3 9
remove_from_ignored_post_types()
S
65 3 9
add_to_ignored_post_types()
S
65 3 9
remove_from_all_ignored_post_types()
S
65 3 9
add_to_all_ignored_post_types()
S
65 3 9
get_loggers()
S
65 3 9
get_alerts_by_category()
S
65 3 9
get_alerts_by_sub_category()
S
65 3 9
get_alert_property()
S
69 3 6
is_disabled_user()
S
70 2 6
commit_pipeline()
S
67 2 7
get_deprecated_events()
S
63 2 6
will_or_has_triggered()
S
77 2 3
duplicate_event_notice()
S
62 1 11
init()
S
78 1 3
is_disabled_post_type()
S
78 1 3
is_disabled_post_status()
S
78 1 3
is_enabled()
S
74 1 4
add_logger_instance()
S
76 1 4
has_triggered()
S
78 1 3
log_problem()
S
65 1 10
log_error()
S
78 1 3
log_warn()
S
78 1 3
log_info()
S
79 1 3
get_wp_users()
S
80 1 3